home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
pascal
/
virtmem.exe
/
SECONDAR.INT
< prev
next >
Wrap
Text File
|
1992-10-09
|
931b
|
24 lines
{Secondar}
{Handles saving and recalling of files via the virtual memory system.}
Unit Secondar;
Interface
{All virtual structures must be referenced via one virtual pointer
which is passed at the parameter "Everything" to these procedures. If
the program uses other pointers to virtual structures that cannot be
accessed via EveryThing, the virtual pointers must be saved and recalled
by the program separately. Normally all global pointers are grouped into
one dynamic record.}
Procedure Save(EveryThing:LongInt);
{Restore cannot be used successfully the first time a program is run.
Use VirtuMem.OpenBook the first time, and Restore successive times. To
test if Restore can be used, look for the existence of the file HEAD.MEM.}
{$IFDEF USEEMS}
Procedure Restore(var EveryThing :LongInt;
EMSSuppress:Boolean);
{$ELSE}
Procedure Restore(var EveryThing:LongInt);
{$ENDIF}